// Side menu (Charm)

#side_menu{
  // display: none;
  width: 70px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background-color: $grayDark;
  z-index: 999999;
}
.nav-charm{
  padding: 0;
  margin: 0;

  li{
    position: relative;
    width: 70px;
    height: 70px;
    list-style: none;

    a{
      display: block;
      width: 100%;
      height: 100%;
      color: $grayLight;
      text-decoration: none;
      text-align: center;

      .charm-icon{
        font-size: 20px;
        position: absolute;
        top: 50%;
        left: 50%;

        /* font awesome size 20 means height 20 and width 25 */
        margin-top: -15px;
        margin-left: -12.5px;
      }

      .charm-caption{
        font-size: 0.7em;
        position: absolute;
        left: 0;
        bottom: 1.2em;
        width: 100%;
        text-align: center;
      }
    }
  }

  li:hover{
    a, .charm-caption{
      color: white;
    }
    background-color: $grayDarker;
  }

// li:first-child{
//     background-color: #111;
// }
}

.active{
  a{
    .charm-caption{
      color: white;
    }
    .charm-icon{
      color: white;
    }
  }
  background-color: $blueDark;
}

//Nav Tile
.tile > .nav-stacked > a > li{
  position: relative;
  background-color: $btnPrimaryBackground;
  min-height: 50px;
  padding: 5px;
  margin-bottom: 5px;
}

.tile > .nav-stacked > a:last-child > li{
margin-bottom: 1px; // decrease margin to match sizing of stacked tabs
}

.tile > .nav-stacked > a > li{
  color: $white;
}

.tile .tile-header{
  position: absolute;
  left: 10px;
  top: 0px;
}

.tile .tile-footer{
  position: absolute;
  right: 5px;
  bottom: 0px;
}

.tile .menu-tiles{
  list-style: none;
  margin: 0px;
}

.tile .menu-tiles > li{
  width: 72px;
  height: 72px;
  line-height: 72px;
  vertical-align: middle;
  text-align: center;
  color: $white;
  font-size: 42px;
  float: left;
  margin-left: 5px;
  margin-top: 5px;
}

.nav-with-tile{
  li{
    position: relative;
    .tile{
      position: absolute;
      left: 0;
      top: auto;
    }
    a{
      padding: 10px 12px;
    }
  }
}

//----

.nav-tiles{
  margin-left: 0;
  margin-bottom: 20px;
  list-style-type: none;
  width: 100%;
}

.list-icon-placer{
  position: relative;
  float: left;
  width: 48px;
  height: 48px;
  line-height: 48px;
  vertical-align: middle;
  text-align: center;
  color: $white;
  font-size: 24px;
  margin-right: 10px;
}

.small .list-icon-placer{
  position: relative;
  float: left;
  width: 36px;
  height: 36px;
  line-height: 36px;
  vertical-align: middle;
  text-align: center;
  color: $white;
  font-size: 24px;
  margin-right: 10px;
}

.large .list-icon-placer{
  position: relative;
  float: left;
  width: 64px;
  height: 64px;
  line-height: 64px;
  vertical-align: middle;
  text-align: center;
  color: $white;
  font-size: 52px;
  margin-right: 10px;
}

.list-content-placer{
  margin-left: 60px;
}

.small .list-content-placer{
  margin-left: 40px;
  margin-top: 8px;
  vertical-align: middle;
}

.large .list-content-placer{
  margin-left: 80px;
}

.nav-tiles p{
  text-align: justify;
}

.nav-tiles h5{
  margin: 0px;
  font-weight: bold;
}

.nav-tiles h6{
  margin: 0px;
  font-weight: bold;
  color: inherit;
}

.nav-tiles li{
  padding: 10px;
  display: table;
  width: 95%;
}

.nav-tiles li:hover{
  background-color: #eee;
}

.nav-paragraph{

}

// This code for override 'nav' on side-menu
// ---------------------------------------
.side-menu .nav-list > li > a{
  padding-left: 30px;
  margin-left: -35px;
  margin-right: -15px;
  text-shadow: none;
}

.side-menu .nav > li > a:hover, .nav > li > a:focus{
  text-decoration: none;
  background-color: $blue;
  width: 177px;
}